<?php
/**
 * @author Tr.Tuan
 * @email trantuanckc@gmail.com
 * 
 * The following variables are available in this template:
 * - $this: the BootCrudCode object
 */
?>
<?php
echo "<?php\n";

echo "\$this->widget('bootstrap.widgets.TbBreadcrumbs', array(
    'links'=>array(
        'Admin'=>Yii::app()->baseUrl.'/sysadmin.html',
        \$this->model_name => Yii::app()->baseUrl.'/sysadmin/'.\$this->model_id.'.html',
        'Thêm '.\$this->model_name.' mới'
     ),    
)); ?> \n";

?>

<?php echo "<?php"; ?> 
$this->beginWidget('zii.widgets.CPortlet', array(
	'htmlOptions'=>array(
		'class'=>''
	)
));
$this->widget('bootstrap.widgets.TbMenu', array(
	'type'=>'pills',
	'items'=>array(
		array('label'=>'Thêm mới', 'icon'=>'icon-plus', 'url'=>Yii::app()->controller->createUrl('create'),'active'=>true, 'linkOptions'=>array()),
                array('label'=>'Danh sách', 'icon'=>'icon-th-list', 'url'=>Yii::app()->controller->createUrl('index'), 'linkOptions'=>array()),
	),
));
$this->endWidget();
?>

<?php echo "<?php echo \$this->renderPartial('_form', array('model'=>\$model)); ?>"; ?>
